<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>推荐好友</title>
    <link rel="stylesheet" type="text/css" href="./css/api.css" />
    <link rel="stylesheet" type="text/css" href="./css/aui.css" />
    <link rel="stylesheet" type="text/css" href="./css/font-awesome.min.css" />
    <link rel="stylesheet" type="text/css" href="./css/style.css" />
    <script type="text/javascript" src="./script/api.js"></script>
    <script type="text/javascript" src="./script/aui-sharebox.js" ></script>
    <script type="text/javascript" src="./script/aui-tab.js" ></script>
    <link rel="stylesheet" type="text/css" href="./css/aui-slide.css" />
    <script type="text/javascript" src="./script/aui-slide.js"></script>
    <script type="text/javascript">
        function closeWin(){
            api.closeWin({
            });
        };
    </script>
</head>
<body>
    <style>
        body{background:#FFFFFF; height:auto;}
    </style>
    <!-- 头部 -->
    <header class="aui-bar aui-bar-nav" id="topbar"  style="background-color:#f7966f;">
        <a class="aui-pull-left aui-btn" onclick="closeWin()">
            <span class="aui-iconfont aui-icon-left"></span>
        </a>
        <div class="aui-title">2019年2月份运营报告</div>
    </header>
</body>
<script type="text/javascript">
    apiready = function()
    {
      calculatToolWebUrl();
    };

  function calculatToolWebUrl()
  {
    var id = api.pageParam.id;
    var headerPos = $api.offset($api.dom('#topbar'));
    api.openFrame(
    {
        name: 'calculatToolWebUrl',
        url: 'http://www.big-wealth.com/thinkphp/public/index.php/index/Index/myunying?id='+id,
        rect:
        {
            x: 0,
            y: headerPos.h,
            w: 'auto',
            h: 'auto'
        },
        pageParam: {name: 'test'},
        scaleEnabled:true,
        bounces: false,
        bgColor: 'rgba(255,255,255,255)',
        vScrollBarEnabled: true,
        hScrollBarEnabled: true
    });
  }
</script>
</html>
